import { defineConfig } from 'vite'

export default defineConfig({
  build: {
    lib: {
      entry: './lib/main.js',
      name: 'Counter',
      fileName: 'counter'
    }
  },
  server:{
    host: '0.0.0.0',
    port: 8111,
    hmr: true,
    watch:{
      usePolling: true
    }
  }
})
